home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Online / SpeakFreely / src / blowfish / asm / bx86unix.cpp < prev    next >
C/C++ Source or Header  |  2000-05-18  |  595b  |  34 lines

  1.  
  2. #define TYPE(a,b)    .type    a,b
  3. #define SIZE(a,b)    .size    a,b
  4.  
  5. #ifdef OUT
  6. #define OK        1
  7. #define BF_encrypt    _BF_encrypt
  8. #define ALIGN        4
  9. #endif
  10.  
  11. #ifdef BSDI
  12. #define OK        1
  13. #define BF_encrypt    _BF_encrypt
  14. #define ALIGN        4
  15. #undef SIZE
  16. #undef TYPE
  17. #endif
  18.  
  19. #if defined(ELF) || defined(SOL)
  20. #define OK        1
  21. #define ALIGN        16
  22. #endif
  23.  
  24. #ifndef OK
  25. You need to define one of
  26. ELF - elf systems - linux-elf, NetBSD and DG-UX
  27. OUT - a.out systems - linux-a.out and FreeBSD
  28. SOL - solaris systems, which are elf with strange comment lines
  29. BSDI - a.out with a very primative version of as.
  30. #endif
  31.  
  32. #include "bx86-cpp.s" 
  33.  
  34.